set -euxo pipefail
mkdir -p dir1 dir2

echo "Test1" >> dir1/file1
echo "Test2" >> dir2/file2

ln -s dir1/file1 link1
ln -s dir2/file2 link2
